﻿<%@ page language="C#" masterpagefile="~/Member/MemMaster.master" autoeventwireup="true"  CodeBehind="Index.aspx.cs"  inherits="PayRoller.Member.Index" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderTitle" Runat="Server">
    Welcome <%=OrgName%> Pty Ltd
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
          <table width="92%"  border="0" cellspacing="2" cellpadding="2" align="center">
            <tr>
                <td></td>
            </tr>
            <tr>
              <td style="line-height:150%">  Below you will find figures relevant to you and links to the latest reports that have been sent to you by Golden Bridge Payroller. To view information about your employees and payments please click any of the buttons on the navigation bar on the left of the screen.</td>
            </tr>
            <tr>
              <td height="24"> </td>
            </tr>
            <tr>
              <td><table width="100%"  border="0" cellspacing="1" cellpadding="1">
                  <tr bgcolor="#CCCCCC">
                    <td width="35%" height="24"><strong>Current Employee Counts</strong></td>
                    <td width="32%"><strong>Current Figures</strong></td>
                    <td><strong>Most Recent Invoice</strong></td>
                  </tr>
                  <tr>
                    <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td height="22">Active:<%=sActiveCount%></td>
                        </tr>
                        <tr>
                          <td height="22">Terminated:<%=sActiveTerminated%></td>
                        </tr>
                    </table></td>
                    <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="50%" height="22">Credit limit:<%=fCreditLimit.ToString("0.00")%></td>
                        </tr>
                        <tr>
                          <td height="22">Closing balance:<%=fFeeBalance.ToString("0.00")%></td>
                        </tr>
                        <tr>
                          <td height="22">Credit available:<%=fAvaBalance.ToString("0.00")%></td>
                        </tr>
                    </table></td>
                    <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td height="22">Latest tax invoice: 
						  <% if(InvoiceSid!="") {%>
						  <a href="InvoicesDetail.aspx?Guid=<%=Guid%>&OrgSid=<%=OrgSid%>" target="_blank"> 
						  Invoice<%=InvoiceSid%></a>(<%=InvoiceDate%>)
					  <%}%>
						  </td>
                        </tr>
                        <tr>
                          <td height="22"><div align="right">&nbsp;&nbsp;&nbsp;&nbsp;</div></td>
                        </tr>
                    </table></td>
                  </tr>
              </table></td>
            </tr>
            <tr>
              <td height="25">
			  <asp:Label ID="lbTip" runat="server"></asp:Label>
			  </td>
            </tr>
          </table>
          <script type="text/javascript">
              $(document).ready(function () {
                  $("a[href='Index.aspx']").addClass("active");
              })
          </script>
</asp:Content>

